﻿<UserControl
   x:Class="BrainTechLLC.Silverlight.ClientApplication.Controls.MainHUD1"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:local="clr-namespace:BrainTechLLC.Silverlight.ClientApplication;assembly=BrainTechLLC.Silverlight.HigherLevelControls"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:loc="clr-namespace:BrainTechLLC.Silverlight.InputControls;assembly=BrainTechLLC.Silverlight.InputControls"
   xmlns:l2="clr-namespace:BrainTechLLC.Silverlight.ClientApplication.Controls"
   xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"   
   xmlns:local2="clr-namespace:BrainTechLLC.Silverlight.InputControls2;assembly=BrainTechLLC.Silverlight.InputControls2"   
   xmlns:local3="clr-namespace:BrainTechLLC.Silverlight.Controls;assembly=BrainTechLLC.Silverlight.Controls"
   xmlns:BrainTechLLC="clr-namespace:BrainTechLLC;assembly=BrainTechLLC.Silverlight.Core"     
   Width="Auto" Loaded="UserControl_Loaded"
   Height="Auto" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <Grid x:Name="LayoutRoot2" Background="White" Height="Auto">
        <Grid.RowDefinitions>
            <RowDefinition Height="32"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="64"/>
        </Grid.RowDefinitions>
        <l2:ShowCharacterDetails1 Name="showCharDetails" ShowEnter="False" Canvas.ZIndex="10" WantClose="ShowCharacterDetails1_WantClose"
                                  Visibility="Collapsed" VerticalAlignment="Top" Grid.RowSpan="3" Width="Auto" Height="Auto" />
        <l2:TopHUDControl x:Name="topHUDControl" RequestEditGameLocation="topHUDControl_RequestEditGameLocation"/>
        <local3:WindowContainer Name="wc2" Width="Auto" Height="Auto" Template="{StaticResource WinContainer}" DescriptionTextString="Edit" Background="#FF250079" 
                           HorizontalAlignment="Left" VerticalAlignment="Top" local3:WindowContainer.ShowClose="True" CloseWindow="WindowContainer_CloseWindow" 
                           local3:WindowContainer.ShowSave="False" Visibility="Collapsed" Canvas.ZIndex="94" Grid.Row="1"
                           local3:WindowContainer.IsOpen="True" WindowBorder="#FF0BF100" HeaderBackground="#FF010267">
            <local3:WindowContainer.Content>
                <local:FlexibleTypeEditor x:Name="editTemplate" Background="AliceBlue" Canvas.ZIndex="94"
                                              IsWindowless="True" RequestEditID="edit_RequestEditID" 
                                              Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" 
                                              Margin="0,0,0,0" />
            </local3:WindowContainer.Content>
        </local3:WindowContainer>
        <Canvas Grid.RowSpan="1" Grid.Row="1" x:Name="canvasMain" Visibility="Visible">
            <l2:TextNotificationsControl Height="Auto" VerticalAlignment="Stretch" 
                                         HorizontalAlignment="Stretch" 
                                         x:Name="notificationsControl" Width="Auto"/>
        </Canvas>
        <StackPanel Grid.RowSpan="1" Grid.Row="2" x:Name="stackBottom">
            <StackPanel Height="32" x:Name="stackBottomTop"/>
            <StackPanel Height="32" x:Name="stackBottomBottom">
                <Grid Width="Auto" HorizontalAlignment="Stretch">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="40"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <ContentControl Grid.Column="0" Content="Input:" Style="{StaticResource TextBlockContentStyle}" VerticalAlignment="Center"/>
                    <TextBox Text="" Grid.Column="1" TextWrapping="Wrap" x:Name="txtInput" HorizontalAlignment="Stretch" Width="Auto" Height="Auto" 
                         VerticalAlignment="Center" Style="{StaticResource TextBoxNoScroller}" KeyDown="txtInput_KeyDown"/>
                </Grid>
            </StackPanel>
        </StackPanel>
        <local3:DataVisualizer Name="properties" Width="Auto" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto"
                              local3:WindowContainer.IsOpen="False" Grid.RowSpan="3" Canvas.ZIndex="11"
                              Margin="800,0,0,0"
                              IsCollection="True" VisualizerName="ShowPropertiesControl" 
                              Template="{StaticResource WinContainer}" DataToVisualize="{Binding Mode=OneWay, Path=ObservableProperties}" />
        <local:FindGameThings HorizontalAlignment="Stretch" VerticalAlignment="Top" Grid.Row="1" Width="Auto" Height="Auto" 
                              RequestGoLocation="findThings_RequestGoLocation" RequestEditGameLocation="findThings_RequestEditGameLocation"
                              x:Name="findThings" Canvas.ZIndex="12" Visibility="Collapsed" CloseWindow="findThings_CloseWindow" 
                               RequestEditID="findThings_RequestEditID"/>
        <Canvas Width="340" Height="340" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="1" Canvas.ZIndex="9913" Visibility="Visible">
            <l2:MapDisplay Name="map" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="340" Height="340" Canvas.ZIndex="9914"
                          Visibility="Visible" />
        </Canvas>
    </Grid>
</UserControl>